package com.dzl.order.service.impl;

import com.dzl.base.service.BaseServiceImpl;
import com.dzl.constant.ApiFuLuConstant;
import com.dzl.order.dao.WelfareOrderExpMapper;
import com.dzl.order.pojo.WelfareOrderExp;
import com.dzl.order.service.WelfareOrderExpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 订单扩展表(WelfareOrderExp)表服务实现类
 * @author wangjian
 * @date 2021-07-13 15:36:13
 */
@Service
public class WelfareOrderExpServiceImpl extends BaseServiceImpl<WelfareOrderExp> implements WelfareOrderExpService {

    @Autowired
    private WelfareOrderExpMapper mapper;

    @Override
    public Integer updateStatus(Integer orderId, Integer status) {
        return mapper.updateStatus(orderId, status);
    }

    @Override
    public List<String> selectFuluOrderState() {
        return mapper.selectFuluOrderState(ApiFuLuConstant.APP_KEY);
    }
}